using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class TalentHA : TalentBasic
{
    // Start is called before the first frame update
    public float healthratio;
    public float damageratio;
    public override void OnClick()
    {
        if (PlayerData.coninsfortalent > 0)
        {
            PlayerData.damageratio += damageratio;
            PlayerData.healthratio += healthratio;
            //Debug.Log("Button Clicked. ClickHandler.");
            base.OnClick();
        }
    }
}
